﻿/*************************************************************
 * Software of blackcore
 *
 * CLRVersion:4.0.30319.586
 * MachineName:SPACE
 * Author:Andy Huang
 * Email:itblackhole@gmail.com
 * DateTime：6/26/2013 2:09:17 PM
 * Function：
 *************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace SobFS.Web.backend.manage.organization
{
    public partial class Add : SobFS.Web.UI.BackendPage
    {

        #region ******************************Private Property******************************
        #endregion ******************************Private Property******************************


        #region ******************************Public Property******************************
        #endregion ******************************Public Property******************************


        #region ******************************Structure******************************
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                this.BindOrganizationTree();
            }
        }
        #endregion  ******************************Structure******************************


        #region ******************************Private Method******************************
        void BindOrganizationTree()
        {
            BLL.SysOrganization bll = new BLL.SysOrganization();
            DataSet ds = bll.GetList("IsObsoleted = 0");
            if (ds != null && ds.Tables != null && ds.Tables.Count > 0)
            {
                DataTable dt = ds.Tables[0];
                this.ddtParent.Bind(dt);
            }
        }
        #endregion ******************************Private Method******************************


        #region ******************************Public Method******************************
        protected void btnSubmit_Click(object sender, EventArgs e)
        {

        }
        #endregion ******************************Public Method******************************

    }
}